<!DOCTYPE html>
<html  xmlns:th="http://www.thymeleaf.org"
       xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head th:include="layout :: htmlhead" th:with="title='用户管理'">
    <meta charset="UTF-8"/>
    <title>steps 演示</title>
    <script type="text/javascript" src="layui/layui.js"></script>
    <script type="text/javascript" src="layui/config.js"></script>
    <link rel="stylesheet" href="layui/css/layui.css"/>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!--头-->
    <div th:replace="fragments/head :: header"></div>

    <div class="layui-body" style="margin: 1%">
	<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
	   <blockquote class="layui-elem-quote">停车场备案信息</blockquote>
	</fieldset>
	 
	<form class="layui-form" action="/park/basicInfo" method="post">
	
	<div class="layui-form-item">
	    <label class="layui-form-label">受理类型</label>
		<div class="layui-input-block">
	      <select name="applyType" id="applyType" lay-filter="type" lay-verify="required">
	        <option value=""></option>
	        <option value="1">新增</option>
	        <option value="2">年审</option>
	      </select>
	    </div>
	  </div>
	
	
	 <div class="layui-form-item">
	    <label class="layui-form-label">受理单位</label>
		<div class="layui-input-block">
	      <select name="deptId" id="deptId" lay-filter="dept" lay-verify="required" >
	         <option value=""> -- 请选择 --</option>
	       	 <option th:each="dept:${deptList}" th:value="${dept.deptCode}" th:text="${dept.deptName}"></option>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">停车场名称</label>
	    <div class="layui-input-block"> 
		  <input name="name" id="name" type="text" class="layui-input" lay-verify="required"/>
		  <input name="applyImgId" id="applyImgId" type="hidden" class="layui-input" lay-verify="required" th:value="${imageId}"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">停车场地址</label>
	    <div class="layui-input-block"> 
		  <input name="address" id="address" type="text" class="layui-input" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">法人</label>
	    <div class="layui-input-block"> 
		  <input name="boss" id="boss" type="text" class="layui-input" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label">法人电话</label>
	    <div class="layui-input-block"> 
		   <input id="bossPhone" name="bossPhone" lay-verify="required|phone" autocomplete="off" type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')"
                                       onafterpaste="this.value=this.value.replace(/\D/g,'')" />
	    </div>
	  </div>
	  
	   <div class="layui-form-item">
	    <label class="layui-form-label">负责人</label>
	    <div class="layui-input-block"> 
		  <input name="header"  id="header" type="text" class="layui-input" lay-verify="required"/>
	    </div>
	  </div>
	  
	   <div class="layui-form-item">
	    <label class="layui-form-label ">负责人电话</label>
	    <div class="layui-input-block"> 
		   <input id="headerPhone" name="headerPhone" lay-verify="required|phone" autocomplete="off"  type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')"
                                       onafterpaste="this.value=this.value.replace(/\D/g,'')"/>
	    </div>
	  </div>
	   <div class="layui-form-item">
	    <label class="layui-form-label">停车场性质</label>
		<div class="layui-input-block">
	      <select name="type" id="type" lay-filter="type">
	        <option value=""></option>
	        <option value="1">公用</option>
	        <option value="2">专用</option>
	      </select>
	    </div>
	  </div>
	  
	   <div class="layui-form-item">
	    <label class="layui-form-label ">停车场面积</label>
	    <div class="layui-input-block"> 
		  <input name="parkArea" id="parkArea" type="text" step="0.001"  class="layui-input" onkeyup="value=value.replace(/[^\d.]/g,'')" lay-verify="required"/>
	    </div>
	  </div>
	
	  <div class="layui-form-item">
	    <label class="layui-form-label ">停车位总数</label>
	    <div class="layui-input-block"> 
		  <input name="parkSum" id="parkSum" type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" lay-verify="required"/>
	    </div>
	  </div>
	  
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">地下车位数</label>
	    <div class="layui-input-block"> 
		  <input name="underground" id="underground" type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" lay-verify="required"/>
	    </div>
	  </div>
	  
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">地面车位数</label>
	    <div class="layui-input-block"> 
		  <input name="ground" id="ground" type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">院内车位数</label>
	    <div class="layui-input-block"> 
		  <input name="yard" id="yard" type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">机械车位数</label>
	    <div class="layui-input-block"> 
		  <input name="machine" id="machine" type="text" class="layui-input" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')" lay-verify="required"/>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <label class="layui-form-label ">备注</label>
	    <div class="layui-input-block"> 
		  <textarea name="remark" id="remark" type="text" class="layui-input"></textarea>
	    </div>
	  </div>
	  
	  <div class="layui-form-item">
	    <div class="layui-input-block">
	    <input type="submit" value="提交信息" class="layui-btn" lay-filter="demo1" lay-submit=""/>
	     <!-- <button class="layui-btn" lay-filter="demo1" lay-submit="">提交上传</button>
	      <button class="layui-btn layui-btn-primary" type="reset">重置</button>-->
	    </div>
	  </div>
	</form>
	 
	 </div>
	</div>
<script src="layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="/js/validate.js"></script>
</body>
</html>